package com.mapper;

import com.domain.Book;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

/**
* @author fujiaqing
* @description 针对表【tb_book】的数据库操作Mapper
* @createDate 2024-12-10 14:41:17
* @Entity com.domain.Book
*/

@Component
public interface BookMapper  {
    @Select("select * from tb_book where id = #{id}")
    public Book findBookById(Integer id);





}




